Skip to contentSkip to conversation

refpolicy: add versioned directory to FILESEXTRAPATHS

PATCH In review Joe MacDonald 3 participants 4 messages Apr 3, 2014

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 refpolicy: add versioned directory to FILESEXTRAPATHS

${PV} is no longer calculated for non-bb/bbappend files, resulting in a failure to find any patches in refpolicy-2.20130424/. Explicitly set the path name rather than relying on the ${PV} expansion.

---
 recipes-security/refpolicy/refpolicy_2.20130424.inc |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
recipes-security/refpolicy/refpolicy_2.20130424.inc +1 -1
index 9e5e426..4ea61fc 100644
@@ -4,7 +4,7 @@ SRC_URI = "http://oss.tresys.com/files/refpolicy/refpolicy-${PV}.tar.bz2;"
 SRC_URI[md5sum] = "6a5c975258cc8eb92c122f11b11a5085"
 SRC_URI[sha256sum] = "6039ba854f244a39dc727cc7db25632f7b933bb271c803772d754d4354f5aef4"
 
-FILESEXTRAPATHS_prepend := "${THISDIR}/refpolicy-${PV}:"
+FILESEXTRAPATHS_prepend := "${THISDIR}/refpolicy-2.20130424:"
 
 # Fix file contexts for Poky
 SRC_URI += "file://poky-fc-subs_dist.patch \
Signature · 1 line
1.7.10.4
#1 lore raw

I also did a similar patch sometime ago, but it is waiting for a merge to upstream.

On Thursday, April 3, 2014 4:18 PM, Joe MacDonald <[email protected]> wrote:

${PV} is no longer calculated for non-bb/bbappend files, resulting in a failure to find any patches in refpolicy-2.20130424/.  Explicitly set the path name rather than relying on the ${PV} expansion.

---
recipes-security/refpolicy/refpolicy_2.20130424.inc |    2 +-

1 file changed, 1 insertion(+), 1 deletion(-)
recipes-security/refpolicy/refpolicy_2.20130424.inc +0 -0
index 9e5e426..4ea61fc 100644
@@ -4,7 +4,7 @@ SRC_URI = "http://oss.tresys.com/files/refpolicy/refpolicy-${PV}.tar.bz2;"

SRC_URI[md5sum] = "6a5c975258cc8eb92c122f11b11a5085"
SRC_URI[sha256sum] = "6039ba854f244a39dc727cc7db25632f7b933bb271c803772d754d4354f5aef4"

-FILESEXTRAPATHS_prepend := "${THISDIR}/refpolicy-${PV}:" +FILESEXTRAPATHS_prepend := "${THISDIR}/refpolicy-2.20130424:"

# Fix file contexts for Poky
SRC_URI += "file://poky-fc-subs_dist.patch \

Signature · 7 lines
1.7.10.4

-- 
_______________________________________________
yocto mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/yocto
#2 lore raw
Quoted 2 lines · [Re: [yocto] [meta-selinux][PATCH] refpolicy: add versioned directory to…

I also did a similar patch sometime ago, but it is waiting for a merge to upstream.

Sorry Vaduva, I didn't see it in the queue. I'll have another look for it.

-J.

Quoted 37 lines · Joe MacDonald

${PV} is no longer calculated for non-bb/bbappend files, resulting in a failure to find any patches in refpolicy-2.20130424/. Explicitly set the path name rather than relying on the ${PV} expansion.

---
recipes-security/refpolicy/refpolicy_2.20130424.inc | 2 +-

1 file changed, 1 insertion(+), 1 deletion(-)
(quoted diff) renamed from recipes-security/refpolicy/refpolicy_2.20130424.inc +0 -0

recipes-security/refpolicy/refpolicy_2.20130424.inc index 9e5e426..4ea61fc 100644

recipes-security/refpolicy/refpolicy_2.20130424.inc +0 -0
@@ -4,7 +4,7 @@ SRC_URI = "http://oss.tresys.com/files/refpolicy/refpolicy-$

{PV}.tar.bz2;"
SRC_URI[md5sum] = "6a5c975258cc8eb92c122f11b11a5085" SRC_URI[sha256sum] = "6039ba854f244a39dc727cc7db25632f7b933bb271c803772d754d4354f5aef4"

recipes-security/refpolicy/refpolicy_2.20130424.inc +1 -1
-FILESEXTRAPATHS_prepend := "${THISDIR}/refpolicy-${PV}:"
+FILESEXTRAPATHS_prepend := "${THISDIR}/refpolicy-2.20130424:"

# Fix file contexts for Poky
SRC_URI += "file://poky-fc-subs_dist.patch \
--
1.7.10.4

--
_______________________________________________
yocto mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/yocto

Signature · 2 lines
-Joe MacDonald.
:wq
#3 lore raw
In reply to Vaduva alexandru
Quoted 2 lines · [Re: [yocto] [meta-selinux][PATCH] refpolicy: add versioned directory to…

I also did a similar patch sometime ago, but it is waiting for a merge to upstream.

Ah, found it. I missed it in my filters when I was looking for meta-selinux stuff. Since it's the same content, I'll merge yours.

-J.

Quoted 37 lines · Joe MacDonald

${PV} is no longer calculated for non-bb/bbappend files, resulting in a failure to find any patches in refpolicy-2.20130424/. Explicitly set the path name rather than relying on the ${PV} expansion.

---
recipes-security/refpolicy/refpolicy_2.20130424.inc | 2 +-

1 file changed, 1 insertion(+), 1 deletion(-)
(quoted diff) renamed from recipes-security/refpolicy/refpolicy_2.20130424.inc +0 -0

recipes-security/refpolicy/refpolicy_2.20130424.inc index 9e5e426..4ea61fc 100644

recipes-security/refpolicy/refpolicy_2.20130424.inc +0 -0
@@ -4,7 +4,7 @@ SRC_URI = "http://oss.tresys.com/files/refpolicy/refpolicy-$

{PV}.tar.bz2;"
SRC_URI[md5sum] = "6a5c975258cc8eb92c122f11b11a5085" SRC_URI[sha256sum] = "6039ba854f244a39dc727cc7db25632f7b933bb271c803772d754d4354f5aef4"

recipes-security/refpolicy/refpolicy_2.20130424.inc +1 -1
-FILESEXTRAPATHS_prepend := "${THISDIR}/refpolicy-${PV}:"
+FILESEXTRAPATHS_prepend := "${THISDIR}/refpolicy-2.20130424:"

# Fix file contexts for Poky
SRC_URI += "file://poky-fc-subs_dist.patch \
--
1.7.10.4

--
_______________________________________________
yocto mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/yocto

Signature · 2 lines
-Joe MacDonald.
:wq